@import "src/variables";
@import "~le5le-ui/variables";

.title,
.popup-title {
  padding: 0.05rem 0.15rem;
  border-bottom: 1px solid #ccc;
  display: flex;

  input {
    border: none;
    padding: 0;
    background-color: transparent;
    color: $color-title;
    font-weight: 600;
    font-size: $font-size;
  }

  i {
    font-size: $font-size;
    color: $color;
  }
}

.input.color {
  position: relative;
  display: flex;
  i {
    display: inline-block;
    width: 0.12rem;
    height: 0.12rem;
    border: 1px solid $color-border;
    margin-top: 0.08rem;
  }

  input {
    width: 100%;
    border: none;
    padding: 0 0 0 0.05rem;
  }
}

.icon {
  height: 0.3rem;
  line-height: 1;

  .image-upload {
    display: flex;
    width: 0.3rem;
    height: 0.3rem;
    text-align: center;
    border: 1px dashed $color-border;
    border-radius: 2px;
    justify-content: center;
    align-items: center;
  }

  .topology {
    font-size: 0.3rem;
  }
}

.tools {
  position: fixed;
  background: #fff;
  right: 0;
  top: 0.4rem;
  bottom: 0;
  width: 2.4rem;
  border-left: 1px solid #ddd;
  z-index: 1;

  .title {
    padding: 0.05rem 0.2rem;
    line-height: 0.3rem;
    border-bottom: 1px solid #eee;

    .iconfont {
      font-weight: normal;
    }

    a {
      font-weight: normal;
    }
  }
}

ui-switch {
  height: initial;
}

.flex {
  & > label {
    width: 0.6rem;
  }

  .full {
    & > .input {
      width: 1.5rem;
    }
  }
}
